package com.taxi.driver.module.order.cancel;

import com.taxi.driver.common.i.IBasePresenter;
import com.taxi.driver.common.i.IBaseView;
import com.taxi.driver.module.vo.CancelDesVO;
import com.taxi.driver.module.vo.CancelReasonVO;

import java.util.List;

/**
 * 功能描述：
 */
public interface OrderCancelContract {

    interface View extends IBaseView<Presenter> {

        void showCancelMsg(List<CancelReasonVO> vos);

        void cancelSuccess(String orderUuid); //取消成功

        void showCancelDes(CancelDesVO vo); //显示取消说明

    }

    interface Presenter extends IBasePresenter {

        void setOrderUuid(String orderUuid);

        String getOrderUuid();

        void reqCancelDes();

        void reqCancelMsg();

        void submitCancel(String content);

    }

}
